package x.ovo.wechat.bot;

import lombok.extern.slf4j.Slf4j;
import x.ovo.wechat.bot.common.event.Event;
import x.ovo.wechat.bot.common.event.EventListener;

@Slf4j
public class TestEventListener extends EventListener<Event<?>> {
    @Override
    public boolean support(Event<?> event) {
        return true;
    }

    @Override
    public void onEvent(Event<?> event) {
        log.info("收到事件：[{}] {}", event.getClass().getSimpleName(), event.getSource());
    }
}
